package cn.hxzy.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author niuyi
 * @since 2024-06-22
 */
@Getter
@Setter
@TableName("sys_course")
@Data
@ApiModel(value = "Course对象", description = "")
public class Course implements Serializable {

    private static final long serialVersionUID = 7566851128475871025L;

    @ApiModelProperty("课程编号")
    @TableId(value = "course_id", type = IdType.AUTO)
    private Long courseId;

    @ApiModelProperty("课程名称")
    private String courseName;

    @ApiModelProperty("专业课程编号")
    private Integer professionalId;

    @ApiModelProperty("专业方向编号,保存格式示例[0,1,2,3]")
    private String directionId;

    @ApiModelProperty("课程简介")
    private String courseInfo;

    @ApiModelProperty("课时")
    private Integer lessonHours ;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建者编号")
    private Integer createUser;

    @ApiModelProperty("修改者编号")
    private Integer updateUser;

    @ApiModelProperty("学校编号")
    private Integer schoolId;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;

    @ApiModelProperty("课程图标")
    private String image;

}
